package com.javaframe.role.service;

import java.util.List;
import java.util.Map;

import com.javaframe.role.entity.Role;
import com.javaframe.role.tools.ConditionInfo;
import com.javaframe.role.tools.PageInfo;



public interface RoleService {
	
	public void save(Role role);
	
	public void delete(Integer id);
	
	public void delete(Map<?, ?> map);

	public List<Role> findAll();
	
	public List<Role> findAll(List<ConditionInfo> conditions,PageInfo page);

	public Role findById(Integer id);

}
